#ifndef __SSDSIM_SIMLULATOR__
#define __SSDSIM_SIMLULATOR__
class Simulator{
public:
	Simulator(int, char **);
	void run();
	void read_trace_file(FILE* tracefile, ioreq_event *curr);
	ioreq_event * get_ioevent();
private:
	FILE* tracefile;
	FILE* outfile;
	ioreq_event *request_queue;
	Cache_dev* cache_dev;
	int request_num;
	double current_time;
	double acculate_delay;
};
#endif /*__SSDSIM_SIMLULATOR__*/
